Docs: Performance Comparison of Python versus Java RM3 and Rocchio Implementations#2420
Open
nourj98 wants to merge 3 commits intocastorini:masterfrom
Open
Docs: Performance Comparison of Python versus Java RM3 and Rocchio Implementations#2420nourj98 wants to merge 3 commits intocastorini:masterfrom
nourj98 wants to merge 3 commits intocastorini:masterfrom
Conversation
This document compares the performance of RM3 and Rocchio implementations in Python versus Java, including effectiveness and latency metrics across multiple datasets.
lintool
reviewed
Feb 19, 2026
|
|
||
| ### Effectiveness Comparison | ||
|
|
||
| <table align="center" style="border-collapse: collapse;"> |
Member
There was a problem hiding this comment.
Ask an LLM to change this into markdown? No need for HTML and formatting here...
Switched from html to markdown
lintool
requested changes
Apr 7, 2026
| @@ -0,0 +1,83 @@ | |||
| # Pyserini: Performance Comparison of Python versus Java RM3 and Rocchio Implementations | |||
| @@ -0,0 +1,83 @@ | |||
| # Pyserini: Performance Comparison of Python versus Java RM3 and Rocchio Implementations | |||
|
|
|||
| We fully re-implmented the RM3 and Rocchio implementations from Anserini in Python. Below is a comparison of the performance of RM3 and Rocchio in Python versus in Java. | |||
Member
There was a problem hiding this comment.
Add a date somewhere, these experiments were from...
| ### Effectiveness Comparison: Python versus Java | ||
|
|
||
| | Implementation | RM3 MAP | RM3 nDCG@10 | RM3 Recall@1000 | Rocchio MAP | Rocchio nDCG@10 | Rocchio Recall@1000 | | ||
| |---------------|---------|-------------|-----------------|-------------|------------------|----------------------| |
Member
There was a problem hiding this comment.
Better MD table alignment? e.g., header row doesn't line up.
Also add : to better control alignment?
Below also...
| | Implementation | RM3 | Rocchio | | ||
| |---------------|---------|----------| | ||
| | **TREC DL19** | | | | ||
| | Python | 3.67 | 4.14 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adding experimental documentation of RM3 and Rocchio Python implementations